package com.chi.pojo;

public class Leaves {
private int	id;
private String name;
private String deptname;
private String type;
private String reason;
private String time;
public Leaves() {
	super();
}
public Leaves(int id, String name, String deptname, String type, String reason, String time) {
	super();
	this.id = id;
	this.name = name;
	this.deptname = deptname;
	this.type = type;
	this.reason = reason;
	this.time = time;
}
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getDeptname() {
	return deptname;
}
public void setDeptname(String deptname) {
	this.deptname = deptname;
}
public String getType() {
	return type;
}
public void setType(String type) {
	this.type = type;
}
public String getReason() {
	return reason;
}
public void setReason(String reason) {
	this.reason = reason;
}
public String getTime() {
	return time;
}
public void setTime(String time) {
	this.time = time;
}
@Override
public String toString() {
	return "Leaves [id=" + id + ", name=" + name + ", deptname=" + deptname + ", type=" + type + ", reason=" + reason
			+ ", time=" + time + "]";
}

}
